package ezXpns.storage;

import ezXpns.analysis.Predicate;

/**
 * Common interface for all storage query
 * 
 * @author A0088827L
 *
 * @param <T>
 */

//@author A0088827L
public interface Query<T> extends Predicate<T> {
	
	/**
	 * Convert this query to a Lucene query
	 * @return a Lucene query
	 */
	public org.apache.lucene.search.Query asLuceneQuery();
}
